tvariable $c1
tvariable $cy1
tvariable $c2
tvariable $cy2
tvariable $tmp_0
trace e100_poll
  commands
    teval $c1=$c1+1
    teval $tmp_0=$clock
  end
trace 2021
  commands
    teval $cy1=$cy1+$clock-$tmp_0
    teval $c2=$c2+1
    teval $tmp_0=$clock
  end
trace 2031
  commands
    teval $cy2=$cy2+$clock-$tmp_0
  end